<?php

require_once 'init.php';

$page = cf\api\page\get( cf\param::get('id') );

$currTopPage = count($page['branch'])>1 ? $page['branch'][1] : 0;

$smarty->assign('page',$page);
$smarty->assign('pageText',cf\api\page\getText($page['id']));

show(
	'page', 
	$page['name'], 
	array(), 
	$page['title'], 
	$page['keywords'], 
	$page['descr']
);
?>